package com.gexiaobao.pigeon.app.model.bean

import android.os.Parcelable
import kotlinx.parcelize.Parcelize

/**
 * @Author      : hxw
 * @Date        : 2024/5/22 15:48
 * @Describe    :
 */
@Parcelize
class ProvincesAndMunicipalitiesResponse(

    var list: ArrayList<ProvinceList> = arrayListOf(),

    ) : Parcelable {

    @Parcelize
    class ProvinceList(

        var label: String = "",
        var value: Int = 0,
        val children: ArrayList<ChildrenList> = arrayListOf()

    ) : Parcelable {

        @Parcelize
        class ChildrenList(

            var label: String = "",
            var value: Int = 0,
            val children: ArrayList<ChildrenAreaList> = arrayListOf()

        ) : Parcelable {

            @Parcelize
            class ChildrenAreaList(

                var isLeaf: Boolean = false,
                var label: String = "",
                var value: Int = 0,

                ) : Parcelable
        }
    }
}